package com.zrwl.poscloud.base.constants;

/**
 * @author liuxiaolong
 * @date 2022/7/23
 * @description
 */
public class PayableBatchConstants {

    /***
     * batchType
     */
    public static final int batchType_real_estate = 1;//物业费
    public static final int batchType_rent = 2;//租金
    public static final int batchType_water = 3;//水费
    public static final int batchType_energy_charge = 4;//电费
    public static final int batchType_cash = 5;//押金
    public static final int batchType_refund = 6;//退款

    /**
     * pay_type
     */
    public static final int payType_capture = 1;//收缴
    public static final int payType_expend = 2;//支出
    public static String getBatchTypeName(int type) {
        switch (type) {
            case batchType_real_estate:
                return "物业费";
            case batchType_rent:
                return "租金";
            case batchType_water:
                return "水费";
            case batchType_energy_charge:
                return "电费";
            case batchType_cash:
                return "押金";
            case batchType_refund:
                return "退款";
            default:
                return "其他";
        }
    }

}
